package com.sdy.dataexchange.meta.model;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.sdy.common.model.BaseModel;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author wyy
 * @since 2019-11-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class MetadataModelLog extends BaseModel {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId
    private Integer id;

    /**
     * 数据库Id
     */
    private Integer dbId;

    /**
     * 模型名称
     */
    private String modelName;

    /**
     * 模型类型  表模型:1
     */
    private Integer modelType;

    /**
     * 数据源信息
     */
    private String modelDbmessage;

    /**
     * 数据库类型
     */
    private String modelDbtype;

    /**
     * 记录时间
     */
    @JsonFormat(pattern = DATETIME_FORMAT)
    private Date modelTime;

}
